package com.quanyan.financialSystem.mapper;

import com.lefu.commons.utils.Page;
import com.quanyan.financialSystem.entity.vo.req.ReqPlaceInComeStream;
import com.quanyan.financialSystem.entity.vo.resp.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2016/11/1.
 */
public interface InComeStreamMapper {

    /**
     * 查询场地收入流水
     * @param reqPlaceInComeStream
     * @return
     */
    public List<RespPlaceInComeStream> findAllPlaceInComeStream(@Param("page") Page<RespPlaceInComeStream> page,@Param("m") ReqPlaceInComeStream reqPlaceInComeStream);



    /**
     * 查询场地收入流水
     * @param reqPlaceInComeStream
     * @return
     */
    public List<RespPlaceInComeStream> findAllPlaceInComeStreamByPayItem(@Param("page") Page<RespPlaceInComeStream> page,@Param("m") ReqPlaceInComeStream reqPlaceInComeStream);


    /**
     * 查询会员消费
     * @param list
     * @return
     */
    public List<RespPlaceInComeStream> findMemberAmount(@Param("list") List<RespPlaceInComeStream> list);


    /**
     * 查询支付方式
     * @param list
     * @return
     */
    public List<PayItem> findPayItem(@Param("list") List<RespPlaceInComeStream> list);


    /**
     * 查询购买方式
     * @param list
     * @return
     */
    public List<BuyType> findBuyType(@Param("list") List<RespPlaceInComeStream> list);


    /**
     * 查询对账日期
     * @param list
     * @return
     */
    public List<RespReconciliation> findReconciliation(@Param("list") List<RespPlaceInComeStream> list);

    /**
     * 查询消费日期
     * @param list
     * @return
     */
    public List<RespConsumeTime> findConsumeTime(@Param("list") List<RespPlaceInComeStream> list);
}
